package com.example.pufang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.pufang.pojo.Report;
import com.example.pufang.vo.ReportAdminDetailVo;
import com.example.pufang.vo.ReportAdminListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ReportMapper extends BaseMapper<Report> {

    List<ReportAdminListVo> getListByPage(Integer start, Integer limit, String searchName, String searchReason);

    long count(String searchName, String searchReason);

    ReportAdminDetailVo getReportDetail(String reportId);
}
